home *** CD-ROM | disk | FTP | other *** search
/ Know Your Hockey - The Greatest Player Resource / Know Your Hockey: The Greatest Player Resource.iso / hockey / director / ssqcst.cst / 00053_Script_ScrollDown < prev    next >
Text File  |  1998-09-28  |  872b  |  24 lines

  1. global gTxtonDeck,gXCast,gButtonState,gPrompts
  2. on mousedown
  3.   set range = count(gTxtonDeck)
  4.   case range > 1 of
  5.     0: exit
  6.     1: 
  7.       set current = the name of member ( the membernum of sprite 7) of castlib gXCast
  8.       set which =  getOne(gTxtonDeck,current)+1
  9.       if which <= range  then   set the  membernum of sprite 7 = the number of member (getat(gTxtonDeck,which)) of castlib gXCast
  10.       
  11.       
  12.   end case
  13.   if which-1 = range-1 then set the membernum of sprite 10 = 0
  14.   if  the membernum of sprite 9 = 0 then setUparrow
  15.   updatestage 
  16. end
  17.  
  18. on setUparrow
  19.     set the membernum of sprite 9 = the number of member "TextUp" of castlib "SSQCST"
  20.    set  U = the number of member "Scrollup" of castlib "SSQCST"
  21.   set p1 = the number of member  "Textup" of castlib "SSQCST"
  22.   set  the scriptText of member p1= the scriptText of member U
  23. end
  24.